import java.util.ArrayList;
import java.util.List;
/*
 *@Student 张策
 */
public class Main {
    public static void main(String[] args) {
        CardGame cardGame = new CardGame();
        //生成一副牌
        List<Card> ret = cardGame.buyCard();
        System.out.println(ret);
        //打乱
        cardGame.shuffle(ret);
        System.out.println(ret);
        //发牌
        List<List<Card>> fplays = cardGame.Fplays((ArrayList<Card>) ret);
        for (int i=0;i<3;i++) {
            System.out.println("第"+(i+1)+"位玩家:"+fplays.get(i));
        }

    }
}